package cn.wolfcode.service;

import cn.wolfcode.domain.Role;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    void saveOrUpdate(Role role,Long[] ids);

    void delete(Long id);

    Role selectOne(Long id);

    List<Role> selectAll();

    PageInfo<Role> queryPage(QueryObject qo);
}
